package com.wx.gof.pattern.behavioral.mediation;

/**
 * @ClassName AbstractMediator
 * @Author wx
 * @Description 中介者抽象
 * @Date 2018-12-14-23:51
 */
public abstract class AbstractMediator {
    
    protected AbstractColleague abstractColleagueA;
    protected AbstractColleague abstractColleagueB;

    public AbstractMediator(AbstractColleague a, AbstractColleague b) {
        this.abstractColleagueA = a;
        this.abstractColleagueB = b;
    }
    /**
     * @methodName: AaffectB
     * @author: wx
     * @description: 影响同事类B
     * @param 
     * @date: 2018/12/14
     * @return: void
     */
    public abstract void AaffectB();
    
    /**
     * @methodName: BaffectA
     * @author: wx
     * @description: 影响同事类B
     * @param
     * @date: 2018/12/14
     * @return: void
     */
    public abstract void BaffectA();

}
